package org.example.computerdesign.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.example.computerdesign.domain.po.Patient;
/**
 * @author 朱文权
 * */
@Mapper
public interface PatientMapper extends BaseMapper<Patient> {
    @Select("select * from patients where identity=#{identity}")
    Patient selectByIdentity(String identity);
}
